//
//  NSArray+EX.m
//  JSON的解析
//
//  Created by ma on 15/10/20.
//  Copyright © 2015年 ma. All rights reserved.
//

#import "NSArray+EX.h"

@implementation NSArray (EX)
//重写数组自定义输出信息
-(NSString*)descriptionWithLocale:(nullable id)locale{
    NSMutableString*mStr=[NSMutableString string];
    [mStr appendString:@"(\r\n"];
    [self enumerateObjectsUsingBlock:^(id  __nonnull obj, NSUInteger idx, BOOL * __nonnull stop) {
        [mStr appendFormat:@"\t%@,\r\n",obj];
    }];
    [mStr appendString:@")"];
    return mStr.copy;
}
@end



